package com.ruoyi.common.core.domain.zzw;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_event_manage
 *
 * @author xbx
 * @date 2023-10-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("重点事件实体类")
public class TEventManage /*extends BaseEntity*/ {
    private static final long serialVersionUID = 1L;

    /**
     * 事件id
     */
    private Long cEventId;

    /**
     * 子事件ID集合（用英文逗号分隔）
     */
    @ApiModelProperty("子事件ID集合（用英文逗号分隔）")
    @Excel(name = "子事件ID集合", readConverterExp = "用英文逗号分隔")
    private String cSubEventList;

    /**
     * 事件名称
     */
    @ApiModelProperty("事件名称")
    @Excel(name = "事件名称")
    private String cEventName;

    /**
     * 事件描述
     */
    @ApiModelProperty("事件描述")
    @Excel(name = "事件描述")
    private String cEventDescribe;

    /**
     * 事件类别（一级、二级、三级、四级）
     */
    @ApiModelProperty("事件类别（一级、二级、三级、四级）")
    @Excel(name = "事件类别", readConverterExp = "一级、二级、三级、四级")
    private String cEventCategory;

    /**
     * 事件类型（安全生产、交通事故、肇事肇祸等等）
     */
    @ApiModelProperty("事件类型（安全生产、交通事故、肇事肇祸等等）")
    @Excel(name = "事件类型", readConverterExp = "安全生产、交通事故、肇事肇祸等等")
    private String cEventType;

    /**
     * 事件状态（待上报、待处置、处置中、已处置）
     */
    @ApiModelProperty("事件状态（待上报、待处置、处置中、已处置）")
    @Excel(name = "事件状态", readConverterExp = "待上报、待处置、处置中、已处置")
    private String cEventStatus;

    /**
     * 发生时间
     */
    @ApiModelProperty("发生时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cEventTime;

    /**
     * 发生地点
     */
    @ApiModelProperty("发生地点")
    @Excel(name = "发生地点")
    private String cEventLocation;

    /**
     * 办结时间
     */
    @ApiModelProperty("办结时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "办结时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cEventCompletedTime;

    /**
     * 所属地区id
     */
    @ApiModelProperty("所属地区id")
    @Excel(name = "所属地区id")
    private Long cEventDistrictId;

    /**
     * 所属地区名称
     */
    @ApiModelProperty("所属地区名称")
    @Excel(name = "所属地区名称")
    private String cEventDistrictName;

    /**
     * 经度
     */
    @ApiModelProperty("经度")
    @Excel(name = "经度")
    private String cLongitude;

    /**
     * 维度
     */
    @ApiModelProperty("维度")
    @Excel(name = "维度")
    private String cLatitude;

    /**
     * 事件影响范围(公里)
     */
    @ApiModelProperty("事件影响范围(公里)")
    @Excel(name = "事件影响范围(公里)")
    private Long cEventReach;

    /**
     * 重伤人数
     */
    @ApiModelProperty("重伤人数")
    @Excel(name = "重伤人数")
    private Long cEventInjuriesNum;

    /**
     * 死亡人数
     */
    @ApiModelProperty("死亡人数")
    @Excel(name = "死亡人数")
    private Long cEventDieNum;

    /**
     * 直接经济损失
     */
    @ApiModelProperty("直接经济损失")
    @Excel(name = "直接经济损失")
    private String cDirectEconomicLosses;

    /**
     * 事件视频链接
     */
    @ApiModelProperty("事件视频链接")
    @Excel(name = "事件视频链接")
    private String cEventVideoUrl;

    @ApiModelProperty("事件分类")
    private Integer cEventClassify;
    public void setcEventId(Long cEventId) {
        this.cEventId = cEventId;
    }

    public Long getcEventId() {
        return cEventId;
    }

    public void setcSubEventList(String cSubEventList) {
        this.cSubEventList = cSubEventList;
    }

    public String getcSubEventList() {
        return cSubEventList;
    }

    public void setcEventName(String cEventName) {
        this.cEventName = cEventName;
    }

    public String getcEventName() {
        return cEventName;
    }

    public void setcEventDescribe(String cEventDescribe) {
        this.cEventDescribe = cEventDescribe;
    }

    public String getcEventDescribe() {
        return cEventDescribe;
    }

    public void setcEventCategory(String cEventCategory) {
        this.cEventCategory = cEventCategory;
    }

    public String getcEventCategory() {
        return cEventCategory;
    }

    public void setcEventType(String cEventType) {
        this.cEventType = cEventType;
    }

    public String getcEventType() {
        return cEventType;
    }

    public void setcEventStatus(String cEventStatus) {
        this.cEventStatus = cEventStatus;
    }

    public String getcEventStatus() {
        return cEventStatus;
    }

    public void setcEventTime(Date cEventTime) {
        this.cEventTime = cEventTime;
    }

    public Date getcEventTime() {
        return cEventTime;
    }

    public void setcEventLocation(String cEventLocation) {
        this.cEventLocation = cEventLocation;
    }

    public String getcEventLocation() {
        return cEventLocation;
    }

    public void setcEventCompletedTime(Date cEventCompletedTime) {
        this.cEventCompletedTime = cEventCompletedTime;
    }

    public Date getcEventCompletedTime() {
        return cEventCompletedTime;
    }

    public void setcEventDistrictId(Long cEventDistrictId) {
        this.cEventDistrictId = cEventDistrictId;
    }

    public Long getcEventDistrictId() {
        return cEventDistrictId;
    }

    public void setcEventDistrictName(String cEventDistrictName) {
        this.cEventDistrictName = cEventDistrictName;
    }

    public String getcEventDistrictName() {
        return cEventDistrictName;
    }

    public void setcLongitude(String cLongitude) {
        this.cLongitude = cLongitude;
    }

    public String getcLongitude() {
        return cLongitude;
    }

    public void setcLatitude(String cLatitude) {
        this.cLatitude = cLatitude;
    }

    public String getcLatitude() {
        return cLatitude;
    }

    public void setcEventReach(Long cEventReach) {
        this.cEventReach = cEventReach;
    }

    public Long getcEventReach() {
        return cEventReach;
    }

    public void setcEventInjuriesNum(Long cEventInjuriesNum) {
        this.cEventInjuriesNum = cEventInjuriesNum;
    }

    public Long getcEventInjuriesNum() {
        return cEventInjuriesNum;
    }

    public void setcEventDieNum(Long cEventDieNum) {
        this.cEventDieNum = cEventDieNum;
    }

    public Long getcEventDieNum() {
        return cEventDieNum;
    }

    public void setcDirectEconomicLosses(String cDirectEconomicLosses) {
        this.cDirectEconomicLosses = cDirectEconomicLosses;
    }

    public String getcDirectEconomicLosses() {
        return cDirectEconomicLosses;
    }

    public void setcEventVideoUrl(String cEventVideoUrl) {
        this.cEventVideoUrl = cEventVideoUrl;
    }

    public String getcEventVideoUrl() {
        return cEventVideoUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("cEventId", getcEventId())
                .append("cSubEventList", getcSubEventList())
                .append("cEventName", getcEventName())
                .append("cEventDescribe", getcEventDescribe())
                .append("cEventCategory", getcEventCategory())
                .append("cEventType", getcEventType())
                .append("cEventStatus", getcEventStatus())
                .append("cEventTime", getcEventTime())
                .append("cEventLocation", getcEventLocation())
                .append("cEventCompletedTime", getcEventCompletedTime())
                .append("cEventDistrictId", getcEventDistrictId())
                .append("cEventDistrictName", getcEventDistrictName())
                .append("cLongitude", getcLongitude())
                .append("cLatitude", getcLatitude())
                .append("cEventReach", getcEventReach())
                .append("cEventInjuriesNum", getcEventInjuriesNum())
                .append("cEventDieNum", getcEventDieNum())
                .append("cDirectEconomicLosses", getcDirectEconomicLosses())
                .append("cEventVideoUrl", getcEventVideoUrl())
                .toString();
    }
}
